package com.course.component.http;
/*
@author By 林中小鸟
@package  com.self.introduction.component.http
@create 2021 - 11 - 2021\11\22 0022
@QQ: 357182695
@Em: themooncss@gmail.com
*/

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;

/*
* 接口返回
* 分页功能类基础类
* */
@ToString
@Getter
@NoArgsConstructor
@AllArgsConstructor
public class BasePageResponse<T> {
    private long total;
    private List<T> rows;

    public long getTotal() {
        return total;
    }

    public List<T> getRows() {
        return rows;
    }

    public void setTotal(long total) {
        this.total = total;
    }

    public void setRows(List<T> rows) {
        this.rows = rows;
    }


}
